projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d19e23b
)
(Electric-pop-up-window): For the `one-window' case,
author
Thien-Thi Nguyen
<ttn@gnuvola.org>
Sat, 13 Sep 2003 13:51:57 +0000
(13:51 +0000)
committer
Thien-Thi Nguyen
<ttn@gnuvola.org>
Sat, 13 Sep 2003 13:51:57 +0000
(13:51 +0000)
no longer disconcertingly move point in the original buffer.
lisp/electric.el
patch
|
blob
|
history
diff --git
a/lisp/electric.el
b/lisp/electric.el
index 776a99035cc916accda95aa3668a7bfca7040cab..6df74eac6efac747f8a6f583447d3050f2645c1a 100644
(file)
--- a/
lisp/electric.el
+++ b/
lisp/electric.el
@@
-160,7
+160,6
@@
(cond ((and (eq (window-buffer win) buf))
(select-window win))
(one-window
- (goto-char (window-start win))
(pop-to-buffer buffer)
(setq win (selected-window))
(enlarge-window (- target-height (window-height win))))